using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ServerTools._Raster
{
    /// <summary>
    /// <para>Execute Raster Analysis Tasks</para>
    /// <para>Execute Raster Analysis Tasks</para>
    /// <para>执行栅格分析任务</para>
    /// </summary>    
    [DisplayName("Execute Raster Analysis Tasks")]
    public class ExecuteRasterAnalysisTasks : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExecuteRasterAnalysisTasks()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_tasks">
        /// <para>Input Raster Analysis Tasks</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public ExecuteRasterAnalysisTasks(object _in_tasks)
        {
            this._in_tasks = _in_tasks;
        }
        public override string ToolboxName => "Server Tools";

        public override string ToolName => "Execute Raster Analysis Tasks";

        public override string CallName => "server.ExecuteRasterAnalysisTasks";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_tasks, _out_results];

        /// <summary>
        /// <para>Input Raster Analysis Tasks</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Raster Analysis Tasks")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tasks { get; set; }


        /// <summary>
        /// <para>Output Raster Analysis Results</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Raster Analysis Results")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_results { get; set; }


        public ExecuteRasterAnalysisTasks SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}